<!DOCTYPE html>
<html>
<head>
    <title>日历清单</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
    <div class="calendar">
        <div class="header">
            <button class="prev" onclick="prevMonth()">←</button>
            <h1 id="currentMonth"></h1>
            <button class="next" onclick="nextMonth()">→</button>
        </div>
        <div class="days">
            <div>Sun</div>
            <div>Mon</div>
            <div>Tue</div>
            <div>Wed</div>
            <div>Thu</div>
            <div>Fri</div>
            <div>Sat</div>
        </div>
        <div class="cells">
        </div>
    </div>
    <div class="input">
        <input type="text" id="taskInput" placeholder="记录工作">
        <button onclick="addTask()">添加</button>
    </div>
    <ul id="taskList"></ul>

    <script src="script.js"></script>
</body>
</html>
